package tugou

type sessionGateModule struct { //网关session
	SessionInfo
	state         int                         //状态
	msg           chan<- messageToGate        //到网关的消息
	addDynamic    chan<- sessionDynamicModule //添加动态模块
	removeDynamic chan<- sessionInfo          //删除动态模块
	shut          chan<- string               //关闭
}

func (this *sessionGateModule) set(msg chan<- messageToGate, addDynamic chan<- SessionGateModule, removeDynamic chan<- SessionInfo, shut chan<- string) {
	this.msg = msg
	this.addDynamic = addDynamic
	this.removeDynamic = removeDynamic
	this.shut = shut
}

type sessionGate struct { ////网关模块的类型session
	sessionMy
	sessionGateModule
}
type SessionGate interface { //网关的session

}
